package com.da.finance;

import java.math.BigDecimal;

/**
 * App调用财务接口需要的VO
 * @author liuZhenghua
 * @date 2015年8月11日 下午2:05:22
 * @version 1.0
 * @since
 */
public class FinanceVO {
	//收入
	private BigDecimal income;
	//支出
	private BigDecimal expend;
	//收益
	private BigDecimal profit;
	
	public FinanceVO () {
		income = BigDecimal.valueOf(0);
		expend = BigDecimal.valueOf(0);
	}
	public BigDecimal getIncome() {
		return income;
	}
	public void setIncome(BigDecimal income) {
		this.income = income;
	}
	public BigDecimal getExpend() {
		return expend;
	}
	public void setExpend(BigDecimal expend) {
		this.expend = expend;
	}
	public BigDecimal getProfit() {
		return income.subtract(expend);
	}
	public void setProfit(BigDecimal profit) {
		this.profit = profit;
	}
}
